@layout("/common/_container.html"){
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-form form-board" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
  <input type="hidden" id="id" value="">
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">登录名</label>
      <div class="layui-input-inline">
        <input type="text" name="account" id="account" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
	    <label class="layui-form-label">角色</label>
	    <div class="layui-input-inline">
	      <select name="roleid">
	        <option value=""></option>
	        @for(role in roleList){
	        <option value="${role.id}">${role.name}</option>
	        @}
	      </select>
	    </div>
    </div>
  </div>
  <div class="layui-form-item">
  	<div class="layui-inline">
      <label class="layui-form-label">密码</label>
      <div class="layui-input-inline">
        <input type="password" name="password" id="password" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-inline">
      <label class="layui-form-label">确认密码</label>
      <div class="layui-input-inline">
        <input type="password" name="rePassword" id="rePassword" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">邮箱</label>
      <div class="layui-input-inline">
        <input type="text" name="email" id="email" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item layui-hide">
    <input type="button" lay-submit lay-filter="admin-submit" id="admin-submit" value="确认">
  </div>
</div>
</div>
</div>

<script src="${ctxPath}/static/modular/system/user/user_info.js"></script>
<script>
  layui.config({
	 base: '${ctxPath}/static/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form','laydate'], function(){
    var $ = layui.$
    ,form = layui.form
    ,laydate = layui.laydate;
  })
  </script>
@}
